package com.happyhome.datamodel;

import static com.mysema.query.types.PathMetadataFactory.*;

import com.mysema.query.types.*;
import com.mysema.query.types.path.*;


/**
 * QRoomRental is a Querydsl query type for RoomRental
 */
public class QRoomRental extends EntityPathBase<RoomRental> {

    private static final long serialVersionUID = 542210666;

    private static final PathInits INITS = PathInits.DIRECT;

    public static final QRoomRental roomRental = new QRoomRental("roomRental");

    public final DateTimePath<java.util.Date> checkInDate = createDateTime("checkInDate", java.util.Date.class);

    public final DateTimePath<java.util.Date> checkOutDate = createDateTime("checkOutDate", java.util.Date.class);

    public final QCustomer customer;

    public final NumberPath<Long> idRoomRental = createNumber("idRoomRental", Long.class);

    public final NumberPath<Integer> monthsHires = createNumber("monthsHires", Integer.class);

    public final NumberPath<Integer> persons = createNumber("persons", Integer.class);

    public final QRoom room;

    public QRoomRental(String variable) {
        this(RoomRental.class, forVariable(variable), INITS);
    }

    public QRoomRental(PathMetadata<?> metadata) {
        this(metadata, metadata.isRoot() ? INITS : PathInits.DEFAULT);
    }

    public QRoomRental(PathMetadata<?> metadata, PathInits inits) {
        this(RoomRental.class, metadata, inits);
    }

    public QRoomRental(Class<? extends RoomRental> type, PathMetadata<?> metadata, PathInits inits) {
        super(type, metadata, inits);
        this.customer = inits.isInitialized("customer") ? new QCustomer(forProperty("customer"), inits.get("customer")) : null;
        this.room = inits.isInitialized("room") ? new QRoom(forProperty("room"), inits.get("room")) : null;
    }

}

